<?php
try{
    include '../ini.php';
    include '../classes/xl_languages.php';
    $dt_xl_languages=new xl_languages;
    $list_country_code=$dt_xl_languages->country_code();
    $dt_smarty->assign('list_country_code',$list_country_code);
	$contenForLayout=$dt_smarty->fetch('languages/lang_add.tpl');
	$dt_smarty->assign('contenForLayout',$contenForLayout);
	$dt_smarty->assign('titleForLayout','Thêm ngôn ngữ');
	$dt_smarty->display('layout/defaults.tpl');
    $dbh=NULL;
}catch(Exception $e){
    $_SESSION['msg']=$e->getMessage();
	$dbh=NULL;
}